#define _CRT_SECURE_NO_WARNINGS 1 
#include<stdio.h>
#include<string.h>
void  my_strcpy(char *pa1, const char *pa2)
{
	while (*pa2 != 0)
	{
		*pa1 = *pa2;
		pa1++;
		pa2++;
	}
	*pa1='\0';
}
int main()
{
	char arr1[] = "hello bit";
	char arr2[20] = { 0 };
	my_strcpy(arr2,arr1);
	printf("%s\n", arr2);
	return 0;
}